package com.flurry.android;

import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.concurrent.CopyOnWriteArrayList;

final class el
{
  private FlurryAds gl;

  el(FlurryAds paramFlurryAds)
  {
    this.gl = paramFlurryAds;
  }

  final List<SdkAdLog> h(List<cw> paramList)
  {
    CopyOnWriteArrayList localCopyOnWriteArrayList1 = new CopyOnWriteArrayList();
    Iterator localIterator1 = paramList.iterator();
    while (localIterator1.hasNext())
    {
      cw localcw = (cw)localIterator1.next();
      SdkAdLog localSdkAdLog = new SdkAdLog();
      localSdkAdLog.b(Long.valueOf(localcw.aB()));
      String str;
      CopyOnWriteArrayList localCopyOnWriteArrayList2;
      if (localcw.aA() == null)
      {
        str = "";
        localSdkAdLog.b(str);
        localCopyOnWriteArrayList2 = new CopyOnWriteArrayList();
      }
      while (true)
      {
        SdkAdEvent localSdkAdEvent;
        HashMap localHashMap;
        try
        {
          Iterator localIterator2 = localcw.aC().iterator();
          if (!localIterator2.hasNext())
            break label277;
          gc localgc = (gc)localIterator2.next();
          if (!localgc.bD())
            continue;
          localSdkAdEvent = new SdkAdEvent();
          localSdkAdEvent.a(localgc.getType());
          localSdkAdEvent.a(Long.valueOf(localgc.bh()));
          Map localMap = localgc.getParams();
          localHashMap = new HashMap();
          Iterator localIterator3 = localMap.entrySet().iterator();
          if (!localIterator3.hasNext())
            break label257;
          Map.Entry localEntry = (Map.Entry)localIterator3.next();
          localHashMap.put(localEntry.getKey(), localEntry.getValue());
          continue;
        }
        finally
        {
        }
        str = localcw.aA();
        break;
        label257: localSdkAdEvent.a(localHashMap);
        localCopyOnWriteArrayList2.add(localSdkAdEvent);
      }
      label277: localSdkAdLog.d(localCopyOnWriteArrayList2);
      localCopyOnWriteArrayList1.add(localSdkAdLog);
    }
    this.gl.i(paramList);
    return localCopyOnWriteArrayList1;
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.flurry.android.el
 * JD-Core Version:    0.6.2
 */